﻿using System;


namespace ProjectEuler
{
   
    abstract public class Problem
    {
        abstract public string Solution(params Int64[] param);
        
        public string Solve(params Int64[] param)
        {
            start = DateTime.Now;
            string res=Solution(param);
            finish = DateTime.Now;
            return res;
        }
        DateTime start, finish;
        public TimeSpan runTime
        {
            get { return finish - start; }
        }
        abstract public string strParamPrompt{get;}
    }
}
